package org.siam.utils {
	
	public class StringUtils {
		
		private static const EMPTY_STRING:String = "";
		
		public static function isEmpty(value:String):Boolean {
			return value == EMPTY_STRING;
		}
		
		public static function format(value:String, ...arguments):String {
			if (!value) return null;
			var result:String = value;
			for each (var arg:String in arguments) {
				result = value.replace("%s", arg);	
			}
			return result;
		}
	}
}